package com.nit.store.pojo.dto.output;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.nit.store.pojo.entity.OrderItem;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author J1ay
 * @Date 2022/7/22 14:53
 * @Description 订单详情
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDto {
    @TableId(type = IdType.AUTO)
    private Long oid;
    private Long uid;
    private Long price;
    private String recvName;
    private String recvPhone;
    // 订单商品
    private List<OrderItem> orderItem;
    private LocalDateTime orderTime;
    private LocalDateTime payTime;
    private Long status;
    private LocalDateTime createdTime;
}
